﻿/*****************************************介绍*****************************************
 * 作者：User
 * 创建时间：2025-09-26 11:29:30
 * 功能：自定义Dropdown组件用于处理箭头问题
**************************************************************************************/

using System;
using UnityEngine;
using UnityEngine.UI;

namespace Game.UI.HallPanel
{
    public class CustomDropdown : Dropdown
    {
        public event Action OnDestroyDropdownList;

        protected override void DestroyDropdownList(GameObject dropdownList)
        {
            base.DestroyDropdownList(dropdownList);
            OnDestroyDropdownList?.Invoke();
        }
    }
}